<form class="form-horizontal" action="" method="post">
  <div class="control-group">
    <label class="control-label" for="inputUser">User Name:</label>
    <div class="controls">
      <input type="text" id="inputUser" placeholder="User Name" name="stdName">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword">Password</label>
    <div class="controls">
      <input type="password" id="inputPassword" placeholder="Password" name="password">
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <label class="checkbox">
        <input type="checkbox"> Remember me
      </label>
      <button type="submit" class="btn">Sign in</button>
      <label style="color: red;"><?php echo $this->error?></label>
    </div>
  </div>
</form>